﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_VEHICLECUSTOMERHISTORY.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_VEHICLECUSTOMERHISTORY数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_VEHICLECUSTOMERHISTORY", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_VEHICLECUSTOMERHISTORY", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_VEHICLECUSTOMERHISTORY_Entity
	{
		#region 变量定义		
		///<summary>
		///编号
		///</summary>
		private long _hISTORYID;
		///<summary>
		///主单ID
		///</summary>
		private string _pARENTID = String.Empty;
		///<summary>
		///客户ID
		///</summary>
		private string _cUSTOMERID = String.Empty;
		///<summary>
		///客户编号
		///</summary>
		private string _cUSTOMERCODE = String.Empty;
		///<summary>
		///客户名称
		///</summary>
		private string _cUSTOMERNMAE = String.Empty;
		///<summary>
		///创建时间
		///</summary>
		private DateTime? _cREATETIME;
		///<summary>
		///创建人编号
		///</summary>
		private long? _cREATEPEOPLEID = 0;
		///<summary>
		///创建人
		///</summary>
		private string _cREATEPEOPLE = String.Empty;
		///<summary>
		///身份证号
		///</summary>
		private string _iDCARD = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_VEHICLECUSTOMERHISTORY_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_VEHICLECUSTOMERHISTORY")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long HISTORYID
		{
			get {return _hISTORYID;}
			set { _hISTORYID = value; }
			
		}

		///<summary>
		///主单ID
		///</summary>		
		public string PARENTID
		{
			get {return _pARENTID;}
			set {
					_pARENTID = value;
				}
			
		}

		///<summary>
		///客户ID
		///</summary>		
		public string CUSTOMERID
		{
			get {return _cUSTOMERID;}
			set {
					_cUSTOMERID = value;
				}
			
		}

		///<summary>
		///客户编号
		///</summary>		
		public string CUSTOMERCODE
		{
			get {return _cUSTOMERCODE;}
			set {
					_cUSTOMERCODE = value;
				}
			
		}

		///<summary>
		///客户名称
		///</summary>		
		public string CUSTOMERNMAE
		{
			get {return _cUSTOMERNMAE;}
			set {
					_cUSTOMERNMAE = value;
				}
			
		}

		///<summary>
		///创建时间
		///</summary>		
		public DateTime? CREATETIME
		{
			get {return _cREATETIME;}
			set { _cREATETIME = value; }
			
		}

		///<summary>
		///创建人编号
		///</summary>		
		public long? CREATEPEOPLEID
		{
			get {return _cREATEPEOPLEID;}
			set { _cREATEPEOPLEID = value; }
			
		}

		///<summary>
		///创建人
		///</summary>		
		public string CREATEPEOPLE
		{
			get {return _cREATEPEOPLE;}
			set {
					_cREATEPEOPLE = value;
				}
			
		}

		///<summary>
		///身份证号
		///</summary>		
		public string IDCARD
		{
			get {return _iDCARD;}
			set {
					_iDCARD = value;
				}
			
		}
		
		
		#endregion
		
	}
}
